Optimal. Leaf size=97 \[ -\frac {\tan ^{-1}\left (1-\sqrt [4]{6} x\right )}{4 \sqrt [4]{6}}+\frac {\tan ^{-1}\left (1+\sqrt [4]{6} x\right )}{4 \sqrt [4]{6}}-\frac {\log \left (\sqrt {6}-6^{3/4} x+3 x^2\right )}{8 \sqrt [4]{6}}+\frac {\log \left (\sqrt {6}+6^{3/4} x+3 x^2\right )}{8 \sqrt [4]{6}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 97, normalized size of antiderivative = 1.00, number of steps
used = 9, number of rules used = 6, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.667, Rules used = {217, 1179, 642,
1176, 631, 210} \begin {gather*} -\frac {\text {ArcTan}\left (1-\sqrt [4]{6} x\right )}{4 \sqrt [4]{6}}+\frac {\text {ArcTan}\left (\sqrt [4]{6} x+1\right )}{4 \sqrt [4]{6}}-\frac {\log \left (3 x^2-6^{3/4} x+\sqrt {6}\right )}{8 \sqrt [4]{6}}+\frac {\log \left (3 x^2+6^{3/4} x+\sqrt {6}\right )}{8 \sqrt [4]{6}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 210
Rule 217
Rule 631
Rule 642
Rule 1176
Rule 1179
Rubi steps
\begin {align*} \int \frac {1}{2+3 x^4} \, dx &=\frac {\int \frac {\sqrt {2}-\sqrt {3} x^2}{2+3 x^4} \, dx}{2 \sqrt {2}}+\frac {\int \frac {\sqrt {2}+\sqrt {3} x^2}{2+3 x^4} \, dx}{2 \sqrt {2}}\\ &=\frac {\int \frac {1}{\sqrt {\frac {2}{3}}-\frac {2^{3/4} x}{\sqrt [4]{3}}+x^2} \, dx}{4 \sqrt {6}}+\frac {\int \frac {1}{\sqrt {\frac {2}{3}}+\frac {2^{3/4} x}{\sqrt [4]{3}}+x^2} \, dx}{4 \sqrt {6}}-\frac {\int \frac {\frac {2^{3/4}}{\sqrt [4]{3}}+2 x}{-\sqrt {\frac {2}{3}}-\frac {2^{3/4} x}{\sqrt [4]{3}}-x^2} \, dx}{8 \sqrt [4]{6}}-\frac {\int \frac {\frac {2^{3/4}}{\sqrt [4]{3}}-2 x}{-\sqrt {\frac {2}{3}}+\frac {2^{3/4} x}{\sqrt [4]{3}}-x^2} \, dx}{8 \sqrt [4]{6}}\\ &=-\frac {\log \left (\sqrt {6}-6^{3/4} x+3 x^2\right )}{8 \sqrt [4]{6}}+\frac {\log \left (\sqrt {6}+6^{3/4} x+3 x^2\right )}{8 \sqrt [4]{6}}+\frac {\text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1-\sqrt [4]{6} x\right )}{4 \sqrt [4]{6}}-\frac {\text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1+\sqrt [4]{6} x\right )}{4 \sqrt [4]{6}}\\ &=-\frac {\tan ^{-1}\left (1-\sqrt [4]{6} x\right )}{4 \sqrt [4]{6}}+\frac {\tan ^{-1}\left (1+\sqrt [4]{6} x\right )}{4 \sqrt [4]{6}}-\frac {\log \left (\sqrt {6}-6^{3/4} x+3 x^2\right )}{8 \sqrt [4]{6}}+\frac {\log \left (\sqrt {6}+6^{3/4} x+3 x^2\right )}{8 \sqrt [4]{6}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 77, normalized size = 0.79 \begin {gather*} \frac {-2 \tan ^{-1}\left (1-\sqrt [4]{6} x\right )+2 \tan ^{-1}\left (1+\sqrt [4]{6} x\right )-\log \left (2-2 \sqrt [4]{6} x+\sqrt {6} x^2\right )+\log \left (2+2 \sqrt [4]{6} x+\sqrt {6} x^2\right )}{8 \sqrt [4]{6}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.13, size = 93, normalized size = 0.96
method | result | size |
risch | \(\frac {\left (\munderset {\textit {\_R} =\RootOf \left (3 \textit {\_Z}^{4}+2\right )}{\sum }\frac {\ln \left (x -\textit {\_R} \right )}{\textit {\_R}^{3}}\right )}{12}\) | \(24\) |
default | \(\frac {\sqrt {3}\, 6^{\frac {1}{4}} \sqrt {2}\, \left (\ln \left (\frac {x^{2}+\frac {\sqrt {3}\, 6^{\frac {1}{4}} x \sqrt {2}}{3}+\frac {\sqrt {6}}{3}}{x^{2}-\frac {\sqrt {3}\, 6^{\frac {1}{4}} x \sqrt {2}}{3}+\frac {\sqrt {6}}{3}}\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {3}\, 6^{\frac {3}{4}} x}{6}+1\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {3}\, 6^{\frac {3}{4}} x}{6}-1\right )\right )}{48}\) | \(93\) |
meijerg | \(\frac {24^{\frac {3}{4}} \left (-\frac {x \sqrt {2}\, \ln \left (1-6^{\frac {1}{4}} \left (x^{4}\right )^{\frac {1}{4}}+\frac {\sqrt {3}\, \sqrt {2}\, \sqrt {x^{4}}}{2}\right )}{2 \left (x^{4}\right )^{\frac {1}{4}}}+\frac {x \sqrt {2}\, \arctan \left (\frac {3^{\frac {1}{4}} 8^{\frac {3}{4}} \left (x^{4}\right )^{\frac {1}{4}}}{8-3^{\frac {1}{4}} 8^{\frac {3}{4}} \left (x^{4}\right )^{\frac {1}{4}}}\right )}{\left (x^{4}\right )^{\frac {1}{4}}}+\frac {x \sqrt {2}\, \ln \left (1+6^{\frac {1}{4}} \left (x^{4}\right )^{\frac {1}{4}}+\frac {\sqrt {3}\, \sqrt {2}\, \sqrt {x^{4}}}{2}\right )}{2 \left (x^{4}\right )^{\frac {1}{4}}}+\frac {x \sqrt {2}\, \arctan \left (\frac {3^{\frac {1}{4}} 8^{\frac {3}{4}} \left (x^{4}\right )^{\frac {1}{4}}}{8+3^{\frac {1}{4}} 8^{\frac {3}{4}} \left (x^{4}\right )^{\frac {1}{4}}}\right )}{\left (x^{4}\right )^{\frac {1}{4}}}\right )}{96}\) | \(162\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.51, size = 121, normalized size = 1.25 \begin {gather*} \frac {1}{24} \cdot 3^{\frac {3}{4}} 2^{\frac {3}{4}} \arctan \left (\frac {1}{6} \cdot 3^{\frac {3}{4}} 2^{\frac {1}{4}} {\left (2 \, \sqrt {3} x + 3^{\frac {1}{4}} 2^{\frac {3}{4}}\right )}\right ) + \frac {1}{24} \cdot 3^{\frac {3}{4}} 2^{\frac {3}{4}} \arctan \left (\frac {1}{6} \cdot 3^{\frac {3}{4}} 2^{\frac {1}{4}} {\left (2 \, \sqrt {3} x - 3^{\frac {1}{4}} 2^{\frac {3}{4}}\right )}\right ) + \frac {1}{48} \cdot 3^{\frac {3}{4}} 2^{\frac {3}{4}} \log \left (\sqrt {3} x^{2} + 3^{\frac {1}{4}} 2^{\frac {3}{4}} x + \sqrt {2}\right ) - \frac {1}{48} \cdot 3^{\frac {3}{4}} 2^{\frac {3}{4}} \log \left (\sqrt {3} x^{2} - 3^{\frac {1}{4}} 2^{\frac {3}{4}} x + \sqrt {2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 161 vs.
\(2 (68) = 136\).
time = 0.39, size = 161, normalized size = 1.66 \begin {gather*} -\frac {1}{48} \cdot 24^{\frac {3}{4}} \sqrt {2} \arctan \left (\frac {1}{12} \cdot 24^{\frac {1}{4}} \sqrt {3} \sqrt {2} \sqrt {24^{\frac {3}{4}} \sqrt {2} x + 12 \, x^{2} + 4 \, \sqrt {6}} - \frac {1}{2} \cdot 24^{\frac {1}{4}} \sqrt {2} x - 1\right ) - \frac {1}{48} \cdot 24^{\frac {3}{4}} \sqrt {2} \arctan \left (-\frac {1}{2} \cdot 24^{\frac {1}{4}} \sqrt {2} x + \frac {1}{48} \cdot 24^{\frac {1}{4}} \sqrt {2} \sqrt {-48 \cdot 24^{\frac {3}{4}} \sqrt {2} x + 576 \, x^{2} + 192 \, \sqrt {6}} + 1\right ) + \frac {1}{192} \cdot 24^{\frac {3}{4}} \sqrt {2} \log \left (48 \cdot 24^{\frac {3}{4}} \sqrt {2} x + 576 \, x^{2} + 192 \, \sqrt {6}\right ) - \frac {1}{192} \cdot 24^{\frac {3}{4}} \sqrt {2} \log \left (-48 \cdot 24^{\frac {3}{4}} \sqrt {2} x + 576 \, x^{2} + 192 \, \sqrt {6}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.17, size = 87, normalized size = 0.90 \begin {gather*} - \frac {6^{\frac {3}{4}} \log {\left (x^{2} - \frac {6^{\frac {3}{4}} x}{3} + \frac {\sqrt {6}}{3} \right )}}{48} + \frac {6^{\frac {3}{4}} \log {\left (x^{2} + \frac {6^{\frac {3}{4}} x}{3} + \frac {\sqrt {6}}{3} \right )}}{48} + \frac {6^{\frac {3}{4}} \operatorname {atan}{\left (\sqrt [4]{6} x - 1 \right )}}{24} + \frac {6^{\frac {3}{4}} \operatorname {atan}{\left (\sqrt [4]{6} x + 1 \right )}}{24} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.54, size = 95, normalized size = 0.98 \begin {gather*} \frac {1}{24} \cdot 6^{\frac {3}{4}} \arctan \left (\frac {3}{4} \, \sqrt {2} \left (\frac {2}{3}\right )^{\frac {3}{4}} {\left (2 \, x + \sqrt {2} \left (\frac {2}{3}\right )^{\frac {1}{4}}\right )}\right ) + \frac {1}{24} \cdot 6^{\frac {3}{4}} \arctan \left (\frac {3}{4} \, \sqrt {2} \left (\frac {2}{3}\right )^{\frac {3}{4}} {\left (2 \, x - \sqrt {2} \left (\frac {2}{3}\right )^{\frac {1}{4}}\right )}\right ) + \frac {1}{48} \cdot 6^{\frac {3}{4}} \log \left (x^{2} + \sqrt {2} \left (\frac {2}{3}\right )^{\frac {1}{4}} x + \sqrt {\frac {2}{3}}\right ) - \frac {1}{48} \cdot 6^{\frac {3}{4}} \log \left (x^{2} - \sqrt {2} \left (\frac {2}{3}\right )^{\frac {1}{4}} x + \sqrt {\frac {2}{3}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.06, size = 33, normalized size = 0.34 \begin {gather*} 6^{3/4}\,\mathrm {atan}\left (6^{1/4}\,x\,\left (\frac {1}{2}-\frac {1}{2}{}\mathrm {i}\right )\right )\,\left (\frac {1}{24}+\frac {1}{24}{}\mathrm {i}\right )+6^{3/4}\,\mathrm {atan}\left (6^{1/4}\,x\,\left (\frac {1}{2}+\frac {1}{2}{}\mathrm {i}\right )\right )\,\left (\frac {1}{24}-\frac {1}{24}{}\mathrm {i}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________